package com.stylefeng.guns.modular.model.service;

import com.stylefeng.guns.modular.system.model.Order;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;
import sun.awt.image.IntegerInterleavedRaster;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuyulong
 * @since 2018-08-01
 */
public interface IOrderService extends IService<Order> {


    List<Order> getByOrderId(String state);

    public  Object selectorderById(String state);


    public List<Order> selectOrderByUserId(String openid);

    public List<Order> selectOrderByOpenId(String openid,Integer state);

    List<Map<String, Object>> selectByOpenidState( String openid,Integer state);

    Order selcetByUserid(Integer userid,Integer state);


    Order selcetByNewdate(Date newdate,Integer userid, Integer state,Integer lineid);

    Order selcetByUseridLineId(Integer userid,Integer state,Integer lineid);


    Order selcetByOrderdState(Integer orderid,Integer state);




}
